import { Alova } from '@/utils/http/alova/index';

//获取table

export function getProject(id) {
  return Alova.Get('admin/project/' + id);
}

export function postProject(params) {
  return Alova.Post('admin/project', params);
}

export function putProject(params) {
  return Alova.Put('admin/project', params);
}

export function patchProject(params) {
  return Alova.Patch('admin/project', params);
}

export function deleteProject(id) {
  return Alova.Delete('admin/project/' + id);
}
